package org.tong.dao;

import org.apache.ibatis.annotations.Mapper;
import org.tong.beans.StuParamMap;
import org.tong.beans.Student;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> queryAllStudents();

    List<Student> queryStudentsById(Integer id);

    Student queryStudentByParamMap(StuParamMap stuParamMap);

    Integer insertStudent(Student student);

    Integer deleteStudent(Integer id);

    Integer updateStudent(Student student);
}
